<%@ page  pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta charset="utf-8" />
		<title>商品管理平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
		<%@ include file="/WEB-INF/views/common/js-include.jsp" %>
		<%@ include file="/WEB-INF/views/common/css-include.jsp" %>
	</head>

<body class="login-layout light-login">
<div id="bodybg">     
        <img src="<c:url value='/images/denglu.jpg' />" class="stretch">    
    </div>
<div class="main-container" style="margin-top:-10%;">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="login-container" style="margin-top:20%;">	
                    <div class="space-6"></div>
                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border">
                            <div class="widget-body">
                                <div class="widget-main"style="border:1px solid #999">
                                    <h2>
                                        <i><img src="<c:url value="/favicon.ico"/>" width="30" height="30" style="margin-top:-5px;"></i> 
                                        <span class="fontcolor">欢迎登录到您的账户</span>
        								<div class="alert alert-danger ${SPRING_SECURITY_LAST_EXCEPTION != null ? '' : 'display-hide'}" >
								            <button class="close" data-close="alert">x</button>
											<span><c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" default="请输入用户名和密码"/> </span>
								        </div>
                                    </h2>
                                <div style="border-bottom:1px solid #D5E3EF;"></div>
                                            
                                <div class="space-6"></div>
                                <form id="loginform" method="POST" action="<c:url value="/j_spring_security_check"/>">
                                <fieldset>
                                    <label class="block clearfix"> 
                                        <span class="block input-icon input-icon-left">
                                           <input type="text" class="form-control" name="loginId" value="<c:out value="${lastLoginId}" default=""/>" title="请输入您的F账号登陆" placeholder="请输入您的F账号登陆" style="height: 30px;">  
                                           <i class="ace-icon fa fa-user"></i>
                                        </span>
                                    </label> 
                                <label class="block clearfix"> 
                                    <span class="block input-icon input-icon-left">
                                        <input type="password" class="form-control" name="loginPwd" value="1" autocomplete="off" title="密码" placeholder="密码" style="height: 30px;">   
                                        <i class="ace-icon fa fa-lock"></i> 
                                    </span>
                                </label>
                                                
<!--                                 <label class="block clearfix">  -->
<!--                                     <span class="block input-icon input-icon-right">认证系统：efivestar域认证</span> -->
<!--                                 </label> -->
                                <div class="clearfix">
                                    <button type="submit" class="width-35 pull-right btn btn-sm btn-primary">
                                        <i class="ace-icon fa fa-key"></i> 
                                        <span class="bigger-110">登录</span>
                                    </button>
                                </div>
                                </fieldset>
                                <input type="hidden" name="j_sysId" value="08c5e982-ced8-11e4-a2d4-0050569548e6">   
                                </form>
                                <div class="social-login center"></div>
                             </div>
                          </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>   
<style>
#bodybg{
	width:100%;
	height:100%;
	position:absolute;
	left:0px;top:0px;
	z-index:0;
	overflow:hidden;
	}
.stretch{
	width:100%;
	height:100%;
	}
</style>    

</html>